<!--
  Generated template for the UserlistPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="primary">
    <ion-title>注册用户</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
    <ion-segment [(ngModel)]="selectedseg">
        <ion-segment-button value="0" (click)="getUserList()">
          未审核用户
        </ion-segment-button>
        <ion-segment-button value="1" (click)="getUserList()">
          已审核用户
        </ion-segment-button>
      </ion-segment>
      <ion-list>
        <ion-item *ngFor="let user of userlist" detail-push (click)="goToUserDetail(user)" >
          <ion-label class="item-label">{{user.xm}}</ion-label>
        </ion-item>
      </ion-list>
</ion-content>
